/**
 * Copyright (C), 2018-2018
 * FileName: Book  * Author:   lcsos
 * Date:     2018/10/7 9:31
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.spring.rabbitmq.bean;

/**
 * 〈一句话功能简述〉<br>  
 *创建一个Book类
 *
 * @author Lcs
 * @create 2018/10/7 
 * @since 1.0.0
 */

public class Book {
    private String bookName;
    private String author;

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Book() {
    }

    public Book(String bookName, String author) {
        this.bookName = bookName;
        this.author = author;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookName='" + bookName + '\'' +
                ", author='" + author + '\'' +
                '}';
    }
}
